//
//  UserInfo.m
//  rrqs
//
//  Created by 朱耀春 on 2019/5/4.
//

#import "UserInfo.h"

@implementation UserInfo

+ (void)saveRankinStatus:(NSString *)status{
    [[NSUserDefaults standardUserDefaults] setObject:status forKey:@"rankin_status"];
    [[NSUserDefaults standardUserDefaults] synchronize];
}

+(NSString *)getRankingStatus{
    if (nil != [[NSUserDefaults standardUserDefaults] objectForKey:@"rankin_status"]) {
        return [[NSUserDefaults standardUserDefaults] objectForKey:@"rankin_status"];
    }else{
        return @"";
    }
}

@end
